import { Controller, Get, Render } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';

@ApiTags('仪表盘')
@Controller('dashboard')
export class DashboardController {
  @Get()
  @Render('dashboard') //该配置使用handlebar模板，handlebar配置在main中
  dashboard() {
    return {
      title: 'dashboard-index',
    };
  }
}
